= render "head"

- if @path.present?
  %ul.breadcrumb
    = commits_breadcrumbs

%div{id: dom_id(@project)}
  #commits-list= render "commits"
.clear
.loading{ style: "display:none;"}

- if @commits.count == @limit
  :javascript
    CommitsList.init("#{@ref}", #{@limit});

